﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO {
    public class SachDTO {
        private int _idSach;
        private string _maSach;
        private int _soLuongTon;
        private int _donGiaSach;
        private string _tenSach;
        private int _idTG;
        private int _idTL;

        public int IDSach {
            get { return _idSach; }
            set { _idSach = value; }
        }

        public string MaSach
        {
            get { return _maSach; }
            set { _maSach = value; }
        }

        public int IDTheLoai {
            get { return _idTL; }
            set { _idTL = value; }
        }

        public int IDTacGia {
            get { return _idTG; }
            set { _idTG = value; }
        }

        public string TenSach {
            get { return _tenSach; }
            set { _tenSach = value; }
        }

        public int DonGiaSach {
            get { return _donGiaSach; }
            set { _donGiaSach = value; }
        }

        public int SoLuongTon {
            get { return _soLuongTon; }
            set { _soLuongTon = value; }
        }
    }

    public class SachComlumn {
        
        public static string MaSach {
            get { return "MaSach"; }            
        }

        public static string IDSach {
            get { return "IDSach"; }            
        }

        public static string TenSach {
            get {return "TenSach";}
        }

        public static string IDTacGia {
            get {
                return "IDTacGia";
            }
        }

        public static string IDTheLoai {
            get {
                return "IDTheLoai";
            }
        }

        public static string SoLuongTon {
            get {
                return "SoLuongTon";
            }
        }

        public static string DonGiaSach {
            get {
                return "DonGiaSach";
            }
        }
    }
}
